﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using IntfClass;

namespace 配置工具界面美化 {
    public partial class FrmIntfSettingQuickly : Form {
        public FrmIntfSettingQuickly() {
            InitializeComponent();
            StringBuilder strSql = new StringBuilder();
            strSql.AppendLine("select t.ID,t.code,t.name from TBusiness t");

            DataTable dtBusinessData = new DataTable();
            ClassDB classDB = new ClassDB();
            dtBusinessData = classDB.ExecuteDataTable(strSql.ToString());
            this.comBusiness.DataSource = dtBusinessData;
            this.comBusiness.ValueMember = "Code";
            this.comBusiness.DisplayMember = "Name";
        }



        private void btnCancel_Click(object sender, EventArgs e) {
            this.Dispose();
        }

        private void button1_Click(object sender, EventArgs e) {

        }
    }
}
